FastTrig 1.24
4/21/2010


NOTE: This program was rushed and has minimal error checking. If some of the requirements aren't meant then the program will produce unpredictable results, so save backups before using this.


FastTrig is a text trigger editor that compiles trigger data directly into a .chk file, with full support for EUDs. It also features very abbreviated syntax from which the name is derived.

scenario.chk and trig.txt are to exist in the same directory as the executable, and trig.txt should contain the proper syntax for each trigger. A file named out.chk is produced with the replaced triggers.

Example trig.txt showing the syntax and all the supported conditions and actions:

.p
1 2 3 4 5 6 7 8 f1 f2 f3 f4

.c
Always
Never

Deaths cur ex 1 9001
Deaths 420 least 2 0
Deaths 0 most 500 150

Switch 1 set
Switch 200 clear

.a
SetDeaths cur set 42 9001
SetDeaths 420 add 1 0
SetDeaths 3 sub 2 55

SetSwitch 1 set
SetSwitch 5 clear
SetSwitch 20 toggle
SetSwitch 21 random

Wait 1000

Preserve